﻿<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="boxNewestProduct.ascx.vb" Inherits="Core.boxNewestProduct" %>
<div class="boxPro">
	<div class="boxNew_header">Sản phẩm mới nhất</div>
	<ul class="boxPro_ul">
        <asp:Repeater ID="RptNewestPro" runat="server">
            <ItemTemplate>
                <li>
                    <div class="boxPro_img">
                        <a href="<%#buildLinkDetailPro(Eval("ProId"))%>" title='<%# Eval("ProName") %>'>
                            <img src="<%#buildImage(Eval("ProDate"), Eval("ProImage2"))%>" alt='<%# Eval("ProName") %>'>
                        </a>
                    </div>
                    <a href="<%#buildLinkDetailPro(Eval("ProId"))%>" class="boxPro_title"><%# Eval("ProName")%></a>
                    <p class="boxPro_desc"><%# getDesc(Eval("ProDesc"), 100)%></p>
                </li>
            </ItemTemplate>
        </asp:Repeater>
    </ul>
</div>